package com.pzi.blog.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author Pzi
 * @create 2022-04-18 0:49
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CommentsVo {

    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    private String nickName;

    private String avatar;

    private String commentContent;

    private String commentTime;

    private Long articleId;

    private Long replyCount;

    private Long parentId;

    private Long replyId;

    private List<ReplyCommentsVo> replyComments;

    private Integer commentTotalCounts;


}
